package com.jeff.tianti.cms.dao;

import com.jeff.tianti.cms.dto.QuestionsAnswersQueryDTO;
import com.jeff.tianti.cms.dto.font.AnswersTo;
import com.jeff.tianti.common.entity.PageModel;
import java.util.List;
import com.jeff.tianti.cms.entity.Answers;
import com.jeff.tianti.cms.dto.AnswersQueryDTO;
/**
 * @author xujianfang
 * @desc AnswersDaoCustom接口 
 * @date 2019-07-19
 */
public interface AnswersDaoCustom {

      PageModel<Answers> queryAnswersPage(AnswersQueryDTO answersQueryDTO);

      List<Answers> queryAnswersList(AnswersQueryDTO answersQueryDTO);


    PageModel<Answers>queryAnswersPages(QuestionsAnswersQueryDTO questionsAnswersQueryDTO);

    List<Answers> findAllByQuestionsAnswersId(String id);

    PageModel<Answers> findPageByAnswersTo(AnswersTo answersTo);

}